import request from "@/utils/request"

export function list(obj) {
  return request({
    url: "/log/dataNumberMonitoring",
    method: "post",
    params: obj
  })
}
export function ratelist(obj) {
  return request({
    url: "/log/dataRateMonitoring",
    method: "post",
    params: obj
  })
}
export function Searchlist(obj) {
  return request({
    url: "/log/queryLogList",
    method: "post",
    params: obj
  })
}
export function averate(obj) {
  return request({
    url: "/log/dataAvgRateMonitoring",
    method: "post",
    params: obj
  })
}
export function leftaverate(obj) {
  return request({
    url: `log/job/info/${obj}`,
    method: "get"
    //   params: obj
  })
}
// 实时同步速率 右上角仪表盘
export function asyncrigave(obj) {
  return request({
    url: "/log/job/realTime",
    method: "get",
    params: obj
  })
}

export function totalNumber(obj) {
  return request({
    url: "/log/totalNumber",
    method: "get",
    params: obj
  })
}
